package com.project.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 客户实体类
 * @author Zchaolin
 * @version 1.0
 * @created 29-7月-2022 9:34:36
 */
@TableName("t_customer")
public class CustomerBean {

	/**
	 * 编号
	 */
	@TableId(value = "pk_customerId",type = IdType.AUTO)
	private Integer id;
	/**
	 * 名字
	 */
	@TableField("c_name")
	private String name;
	/**
	 * 负责人
	 */
	@TableField("c_leadingCadre")
	private String leadingCadre;
	/**
	 * 负责人电话
	 */
	@TableField("c_phone")
	private String phone;
	/**
	 * 经营范围
	 */
	@TableField("c_range")
	private String cusRange;
	/**
	 * 地址
	 */
	@TableField("c_address")
	private String address;
	/**
	 * 邮箱
	 */
	@TableField("c_email")
	private String email;

	public CustomerBean(){

	}

	public CustomerBean(String name, String leadingCadre, String phone, String cusRange, String address, String email) {
		this.name = name;
		this.leadingCadre = leadingCadre;
		this.phone = phone;
		this.cusRange = cusRange;
		this.address = address;
		this.email = email;
	}


    public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getLeadingCadre() {
		return leadingCadre;
	}

	public void setLeadingCadre(String leadingCadre) {
		this.leadingCadre = leadingCadre;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getCusRange() {
		return cusRange;
	}

	public void setCusRange(String cusRange) {
		this.cusRange = cusRange;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	@Override
	public String toString() {
		return "CustomerBean{" +
				"id=" + id +
				", name='" + name + '\'' +
				", leadingCadre='" + leadingCadre + '\'' +
				", phone='" + phone + '\'' +
				", cusRange='" + cusRange + '\'' +
				", address='" + address + '\'' +
				", email='" + email + '\'' +
				'}'+"\n";
	}
}